→Generic data type

according to →IEC-standard→data type which represents more than one type of data 

Neuron Power Engineer is using generic data types for certain inputs/outputs resp. return values in some system blocks for the application. Compare: →Overloading and →Typed

Here the hierarchy of the generic data types and the appropriate elementary data types:

generic data types

 

 

 

 

 

appropriate elementary data types

ANY

 

 

 

 

 

 

 

ANY_DERIVED

 

 

 

 

→user-defined data types

 

ANY_ELEMENTARY

 

 

 

 

 

 

 

ANY_MAGNITUDE

 

 

 

 

 

 

 

ANY_NUM

 

 

 

 

 

 

 

ANY_REAL

 

REALLREAL

 

 

 

 

ANY_INT

 

 

 

 

 

 

 

ANY_UNSIGNED

USINTUINTUDINTULINT

 

 

 

 

 

ANY_SIGNED

SINTINTDINTLINT

 

 

 

ANY_DURATION

 

 

TIMELTIME(Currently, LTIME is not supported in Neuron Power Engineer.) 

 

 

ANY_BIT

 

 

 

BOOLBYTEWORDDWORDLWORD

 

 

ANY_CHARS

 

 

 

 

 

 

 

ANY_STRING

 

 

STRINGWSTRING(Currently, WSTRING is not supported in Neuron Power Engineer.)

 

 

 

ANY_CHAR

 

 

CHARWCHAR(Currently, WCHAR is not supported in Neuron Power Engineer.) 

 

 

ANY_DATE

 

 

 

DATE_AND_TIMELDATE_AND_TIMEDATETIME_OF_DAYLTIME_OF_DAY, LDATE(Currently, LDATE_AND_TIME, LTIME_OF_DAY und LDATE are not supported in Neuron Power Engineer.)

 

Note on how to interpret the table: If the last column does not list elementary data types for a generic data types, this generic data type includes the elementary data types of those generic data types that are subordinated.

  • Example 1: The generic data type ANY is the highest possible generalization of the data types. Hence, ANY includes all elementary data types (ANY_ELEMENTARY) and all derived data types (ANY_DERIVED).

  • Example 2: The generic data type ANY_INT includes the elementary data types of the subordinated generic data types ANY_UNSIGNED and ANY_SIGNED. Hence, ANY_INT includes: USINTUINTUDINTULINTSINTINTDINTLINT